{% set clazz = "qrcode" %}
{% set title = '请扫描二维码' %}
{% extends './modules/common/templates/main.html' %}
{% block style %}
  <link rel="stylesheet" type="text/css" href="{{ '/static/css/home.css'|version }}" />
{% endblock %}
{% block content %}
  {% if !nested %}
    <header class="bar bar-header">
      {{ macro.back() }}
      <h1 class="title">{{ title }}</h1>
    </header>
  {% endif %}
  <section>
    <div class="panel">
      <div class="vspace text-center">
        <p class="text-sm">{{ room.projectName }}{{ room.groupName }}{{ room.buildingName }}{{ room.name }}</p>
        <h3 class="text-orange">{{ identity|bindType }}</h3>
      </div>
      <div class="vspace qrcode text-center">
        <img class="center-block" src="{{ quickMarkUrl }}" />
        <span class="text-xs">扫一扫上面的二维码，即可完成房屋绑定</span>
      </div>
    </div>
    <div class="hspace">
      <button class="button warning" onclick="javascript:history.go(-1);">关闭</button>
    </div>
  </section>
{% endblock %}
{% block script%}{% endblock %}